﻿using Common.Infrastructure;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace FCP.Data.Entity
{
    [EntityClassIndex(new string[] { "fcp_form_id" })]
    public class t_table: t_editTableBase
    {
        public bool is_visible_check { get; set; }

        public int check_type { get; set; }

        public string api { get; set; }

        public string service_code { get; set; } 

        public string field_sort { get; set; }
        public int field_order { get; set; }

        public string field_sort_list { get; set; }

        public string field_order_list { get; set; }


        public string class_field_name { get; set; }
        public string class_func_name { get; set; }
        /// <summary>
        /// 'top' | 'bottom' | 'both'  分页位置（默认both)
        /// </summary>
        public string page_position { get; set; }
        /// <summary>
        ///子表关联父表，父表字段名称 默认为ID
        /// </summary>
        public string parent_src_field_name { get; set; }
        /// <summary>
        ///与父表关联字段
        /// </summary>
        public string children_filter_field_name { get; set; }


        public bool is_visible_footer { get; set; }

        public int footer_sum_type { get; set; }

        public bool is_visible_row_no { get; set; }

        public int filter_org_type { get; set; }

        /// <summary>
        /// 按列表显示，即不分页
        /// </summary>
        public bool is_show_list { get; set; }
    }
}
